CC := gcc
CFLAGS := -Wall -g -O0

SRCS := $(shell find . -name "*.c")
TARGETS := $(SRCS:.c=)

all: $(TARGETS)

%: %.c
	$(CC) $(CFLAGS) $< -o $@

clean:
	rm -f *.o $(TARGETS)
